﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Demo01
{
    class Addition:Calculate
    {
        int sum = 0;
        public override void DisplayResult(int num1,int num2)
        {
            base.DisplayResult(10,5);
            sum = num1 + num2;
            Console.WriteLine(sum);
        }
    }
}
